<?php

		$this->title = "Delete Post"; 
		$this->headTitle($this->title);
?>

<p>Are  you  sure  that  you  want  to  delete This post bellow

	<div class="title"><?php echo $this->deletes['Title']; //Hien thi tieu de cua bai Post duoc view ?></div>
	
	<div class="description"><?php echo $this->deletes['Description'];  //Hien thi noi dung mo ta bai Post?></div>
<br /><br />

<form action="<?php echo $this->url(array('action'=>'delete'));//Nghia la form action='delete' se goi den link URL action 'delete' trong controler?>" method="post"> 
	<div>
		<input type="hidden" name="id" value="<?php echo $this->deletes['id']; 
			
			//Vi function deleteAlbums() trong file Albums.php tim va xoa rows theo $id nen can co type phia tren.
			//album o day chi la 1 object khong phai la mot mang 'albums' nhu trong index.phtml
			//Xem chu thich ve gia tri an id nay trong phan cuoi file IndexController.php 
											?>" /> 
		<input type="submit" name="del" value="Yes" />
		<input type="submit" name="del" value="No" />
	</div>

</form>
